import axios from 'axios'
import config from '../config'

export function createPlansApplyUsers (entity) {
  return axios.post(config.SERVER_URL + window.apiPath + '/work-plans-apply-users', {...entity, responseType: 'json'})
    .then(resp => resp)
}

export function editPlansApplyUsers (entity) {
  return axios.put(config.SERVER_URL + window.apiPath + '/work-plans-apply-users', {...entity, responseType: 'json'})
    .then(resp => resp)
}
